﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using WMSSystem.DYB.Dto.WarehouseManagement;
using WMSSystem.WYJ.Dto;

namespace WMSSystem.WYJ.Interfance
{
    public interface ISalesReturnServices:IApplicationService
    {
        Task<CreateSalesReturnDto> CreateSalesReturnAsync(CreateSalesReturnDto input);
        Task<List<GetSalesReturnList>> GetSalesReturnListAsync();
        Task SRDeleteByCodeAsync(string returnCode);
        Task SRDeleteOrderAsync(string orderCode);

        Task<CreateReturnDetails> CreateReturnDetailsAsync(CreateReturnDetails input);
        Task<List<GetReturnDetailsList>> GetReturnDetailsListAsync();
        Task<List<GetSalesOrderList>> GetSalesOrderListAsync();
        Task<List<GetStatuslist>> GetStatusListAsync();
        Task<CreateOrder>CreateOrderAsync(CreateOrder input);
        /// <summary>
        /// 审核退货单
        /// </summary>
        Task<string> AuditSalesReturnAsync(AuditSalesReturnDto input);
        /// <summary>
        /// 审核销售订单
        /// </summary>
        Task<string> AuditOrderAsync(AuditSalesReturnDto input);
    }
}
